package com.song.mscloud.controller;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author TonySong
 * @date 2024/5/7 0007
 * @time 16:22
 */
@RestController
public class LoginController {

    @Value("${val.username}")
    private String username;

    @Value("${val.password}")
    private String password;

    @GetMapping("/test")
    public String test(){
        return username + ":" + password;
    }
}
